#include "depend.h"
#include "tablefuncs.h"

using std::cout;
using std::cerr;

void printDepend(NameList *names)
{
    if (names == 0)
        cerr << "Module has no dependencies\n";
    while (names != 0)
    {
        printName(names->name);
        cout << "\n";
        names = names->next;
    }
}

